package com.ftf.tp.message.domain.directMessage.service.impl.impl;

import com.ftf.tp.message.domain.directMessage.dos.NoticeEventDO;
import com.ftf.tp.message.domain.directMessage.repository.NoticeEventRepository;
import com.ftf.tp.message.domain.directMessage.service.impl.NoticeEventService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author tanghao
 * @date 2022/9/2
 */
@Service
public class NoticeEventServiceImpl implements NoticeEventService {

    @Resource
    private NoticeEventRepository noticeEventRepository;
    /**
     * 保存通知事件
     *
     * @param noticeEventDO 通知事件实体
     */
    @Override
    public void save(NoticeEventDO noticeEventDO) {
        noticeEventRepository.save(noticeEventDO);
    }
}
